package com.glorysoft.sunnypda.model

import com.glorysoft.sunnypda.base.BaseRepository
import com.glorysoft.sunnypda.base.Constant
import com.pda.platform.ui.ui_pdaplatform.entity.FreeUI_VersionEntity
import com.pda.platform.ui.ui_pdaplatform.utils_public.FreeApi_LogUtils
import rxhttp.toClass
import rxhttp.wrapper.param.RxHttp

class TaskRepository : BaseRepository(){
    suspend fun defaultUpdate(map: Map<String, String>): FreeUI_VersionEntity {
        return RxHttp.get("")
            .addAll(map)
            .toClass<FreeUI_VersionEntity>()
            .await()
    }
}